home *** CD-ROM | disk | FTP | other *** search
- Path: news.nevada.edu!not-for-mail
- From: kesslert@nevada.edu (Troy Kessler)
- Newsgroups: comp.lang.c++
- Subject: C++ Mouse Programing Question
- Date: 10 Mar 1996 01:54:19 GMT
- Organization: University of Nevada System Computing Services
- Message-ID: <4htcob$m03@news.nevada.edu>
- NNTP-Posting-Host: unauthenticated_user@pioneer.nevada.edu
- X-Newsreader: TIN [UNIX 1.3 950520BETA PL0]
-
- Subject: C++ Mouse Programing Question
- Newsgroups: comp.lang.c++
- Organization: University of Nevada System Computing Services
- Summary:
- Keywords:
- Lines: 16
- X-Newsreader: TIN [UNIX 1.3 950520BETA PL0]
-
- I got the mouse.h file from oak.oakland.edu and I trying to use it with
- Turbo c++ for dos 3.0 (made by borland).
- I would like to make a menu with 5 choices and make it so the user the
- user must use a mouse. How do I find out if the mouse has been clicked
- and where the cursor is. I am guessing it would look like
- if (50>posx>30 && 50>posy>30 && mouseclick)
- {
- .
- .
- .
- }
- But how do I get posx, posy, and mouseclick.
-
- Please Email if you know how to do this.
-
- Thank You
-